/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.escinf.ia.aplication;

import cr.ac.una.escinf.ia.classes.Card;
import cr.ac.una.escinf.ia.classes.Card.Rank;
import cr.ac.una.escinf.ia.classes.Card.Suit;
import cr.ac.una.escinf.ia.classes.Hand;
import java.util.ArrayList;
import java.util.Collections;

/**
 *
 * @author jorge
 */
public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        
        Hand h= new Hand (new Card(Rank.KING,Suit.SPADES),new Card(Rank.ACE,Suit.SPADES));
        Card f[]= new Card[3];
        f[0]= new Card(Rank.JACK,Suit.SPADES);
        f[1]= new Card(Rank.QUEEN,Suit.SPADES);
        f[2]= new Card(Rank.TEN,Suit.SPADES);
     
        int p[]=h.getValue(f);
        for(int i=0; i<p.length;i++){
        System.out.println(p[i]);
        }
    }
}
